package com.project.dao;

import com.alibaba.fastjson.JSONObject;
import com.project.entity.Area;

public interface AreaMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);

    /**
     * author: WheelChen
     * date: 2017/9/20
     * function: 通过id查找省/市/区
     *
     * @param id
     * @return
     */
    JSONObject selectOneDetailById(Integer id);

}
